import request from "./request";

export function userlogin(parameter){
    return request({
        url:"/user/login",
        method:'post',
        data:parameter
    })
}

export function getUserAll(parameter){
    return request({
        url :"/user/findAll",
        method:'get',
        params:parameter
    })
}
export function getUserByName(parameter){
        return request({
            url:"/user/queryByName",
            method:'post',
            data:parameter
        })
}